projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4328c92
)
(message_log_check_duplicate): Count byte length of the
author
Kenichi Handa
<handa@m17n.org>
Wed, 16 Sep 1998 07:21:31 +0000
(07:21 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 16 Sep 1998 07:21:31 +0000
(07:21 +0000)
latest message correctly.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index cf6ae25607347f60279606eb9ca53efed4951c85..9abc887a747e6c5785d4a7cebdae15596d675ee2 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-447,7
+447,7
@@
message_log_check_duplicate (prev_bol, prev_bol_byte, this_bol, this_bol_byte)
int prev_bol_byte, this_bol_byte;
{
int i;
- int len = Z
- 1 - this_bol
;
+ int len = Z
_BYTE - 1 - this_bol_byte
;
int seen_dots = 0;
unsigned char *p1 = BUF_BYTE_ADDRESS (current_buffer, prev_bol_byte);
unsigned char *p2 = BUF_BYTE_ADDRESS (current_buffer, this_bol_byte);